package cn.elegent.tx.core.rollback;

import cn.elegent.tx.context.Snapshot;

/**
 * RollBack
 * @description 回滚接口
 * @author WGL
 * @date 2022/11/7 18:43
*/
public interface RollBackHandler {

    void doRollBack(String topic, Snapshot snapshot) throws Exception;
}
